GET
/
v2
/
offsite-ads
/
jobs
/
{job_id}
curl --request GET \
  --url https://api.topsort.com/v2/offsite-ads/jobs/{job_id} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "jobResponse": {
    "campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "requestType": "ADVERTISER_CREATION",
  "status": "PENDING"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required

The unique identifier for the queued job.

Response

200
application/json
Successful Response
id
string
required

The unique identifier of the campaign.

requestType
enum<string>
required
Available options:
ADVERTISER_CREATION,
CAMPAIGN_CREATION,
CAMPAIGN_UPDATE
status
enum<string>
required
Available options:
PENDING,
SUCCESS,
FAILED
error
string

Error message if the job failed.

jobResponse
object